package cn.xfdzx.android.apps.shop.net;


import org.json.JSONObject;

import java.util.List;
import java.util.Map;

import cn.xfdzx.android.apps.shop.bean.AddAddressBeen;
import cn.xfdzx.android.apps.shop.bean.AddLiveGoodsBeen;
import cn.xfdzx.android.apps.shop.bean.AfterMarketInfoBean;
import cn.xfdzx.android.apps.shop.bean.AfterSalesListMarketBean;
import cn.xfdzx.android.apps.shop.bean.AfterSalesListRetailBean;
import cn.xfdzx.android.apps.shop.bean.AfterServiceUpLoadMoreImgBean;
import cn.xfdzx.android.apps.shop.bean.AfterServiceUpLoadSingImgBean;
import cn.xfdzx.android.apps.shop.bean.AgreementBeen;
import cn.xfdzx.android.apps.shop.bean.ApplyShopInBeen;
import cn.xfdzx.android.apps.shop.bean.BankCardBeen;
import cn.xfdzx.android.apps.shop.bean.BaseObjectBean;
import cn.xfdzx.android.apps.shop.bean.BluePrintContentBean;
import cn.xfdzx.android.apps.shop.bean.BuyOftenGoodsBeen;
import cn.xfdzx.android.apps.shop.bean.CarCountBeen;
import cn.xfdzx.android.apps.shop.bean.CategoryAllBeen;
import cn.xfdzx.android.apps.shop.bean.ClassShopBeen;
import cn.xfdzx.android.apps.shop.bean.ConfirmBeen;
import cn.xfdzx.android.apps.shop.bean.ConfirmGoodBeen;
import cn.xfdzx.android.apps.shop.bean.CreatePusherBeen;
import cn.xfdzx.android.apps.shop.bean.DeleteAddressBeen;
import cn.xfdzx.android.apps.shop.bean.DetailPringBean;
import cn.xfdzx.android.apps.shop.bean.DissatisfiedReasonBean;
import cn.xfdzx.android.apps.shop.bean.EleContractMakeBeen;
import cn.xfdzx.android.apps.shop.bean.FamilyBuyBeen;
import cn.xfdzx.android.apps.shop.bean.FamliyItemBeen;
import cn.xfdzx.android.apps.shop.bean.FoundGoodContentBeen;
import cn.xfdzx.android.apps.shop.bean.FoundGoodTitleBeen;
import cn.xfdzx.android.apps.shop.bean.GoodsLiblaryListBean;
import cn.xfdzx.android.apps.shop.bean.GoodsLimitBean;
import cn.xfdzx.android.apps.shop.bean.GoodsMiaoSBean;
import cn.xfdzx.android.apps.shop.bean.HomeSearchRetailGoodsBean;
import cn.xfdzx.android.apps.shop.bean.HotSearchRetailBean;
import cn.xfdzx.android.apps.shop.bean.MesCenterListBean;
import cn.xfdzx.android.apps.shop.bean.MyFocusShopBean;
import cn.xfdzx.android.apps.shop.bean.LogisticsBeen;
import cn.xfdzx.android.apps.shop.bean.MyFollowBean;
import cn.xfdzx.android.apps.shop.bean.MyRemakeListMarketBean;
import cn.xfdzx.android.apps.shop.bean.MyRemakeListRetailBean;
import cn.xfdzx.android.apps.shop.bean.OrderDetailInfoBeen;
import cn.xfdzx.android.apps.shop.bean.OrderProcessBeen;
import cn.xfdzx.android.apps.shop.bean.OrderWuliuShunFengBeen;
import cn.xfdzx.android.apps.shop.bean.PosterBeen;
import cn.xfdzx.android.apps.shop.bean.ReturnReasonBean;
import cn.xfdzx.android.apps.shop.bean.RuleBean;
import cn.xfdzx.android.apps.shop.bean.SalePiFaAfterDetailsBeen;
import cn.xfdzx.android.apps.shop.bean.SearchShopBean;
import cn.xfdzx.android.apps.shop.bean.SelfOwnedShopBeen;
import cn.xfdzx.android.apps.shop.bean.ShopInOrderAfterSalesListBeen;
import cn.xfdzx.android.apps.shop.bean.ShopInPiFaOrderAfterSalesListBeen;
import cn.xfdzx.android.apps.shop.bean.ShopRemakeListMarketBean;
import cn.xfdzx.android.apps.shop.bean.ShopRemakeListRetailBean;
import cn.xfdzx.android.apps.shop.bean.StoreAmountBean;
import cn.xfdzx.android.apps.shop.bean.StoreGoodsListBeen;
import cn.xfdzx.android.apps.shop.bean.SubmitWithdrawalBeen;
import cn.xfdzx.android.apps.shop.bean.UserInfoBean;
import cn.xfdzx.android.apps.shop.bean.VideoEndBeen;
import cn.xfdzx.android.apps.shop.bean.VideoInfoBeen;
import cn.xfdzx.android.apps.shop.bean.HotSearchBeen;
import cn.xfdzx.android.apps.shop.bean.LiveInfoBeen;
import cn.xfdzx.android.apps.shop.bean.LiveListBeen;
import cn.xfdzx.android.apps.shop.bean.LogininfoBean;
import cn.xfdzx.android.apps.shop.bean.MoreGoodsBean;
import cn.xfdzx.android.apps.shop.bean.OrderWuliuDaMaBeen;
import cn.xfdzx.android.apps.shop.bean.PeiSongBeen;
import cn.xfdzx.android.apps.shop.bean.PushInfoBeen;
import cn.xfdzx.android.apps.shop.bean.ShopGoodsInfoBeen;
import cn.xfdzx.android.apps.shop.bean.GoodsUpStateBeen;
import cn.xfdzx.android.apps.shop.bean.HomeMarketInitDataBeen;
import cn.xfdzx.android.apps.shop.bean.HomeMarketSelectBeen;
import cn.xfdzx.android.apps.shop.bean.HomeRetailBeen;
import cn.xfdzx.android.apps.shop.bean.HomeSearchXFDGoodBeen;
import cn.xfdzx.android.apps.shop.bean.AddressListBeen;
import cn.xfdzx.android.apps.shop.bean.IdCardBeen;
import cn.xfdzx.android.apps.shop.bean.LicenseImgBeen;
import cn.xfdzx.android.apps.shop.bean.LoginBean;
import cn.xfdzx.android.apps.shop.bean.*;

import cn.xfdzx.android.apps.shop.fragment.home.response.HomeNearShop;
import io.reactivex.Flowable;
import io.reactivex.Observable;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

/**
 * @author azheng
 * @date 2018/4/24.
 * Description：
 */
public interface APIService {

    /**
     * 登陆
     *
     * @param username 账号
     * @param password 密码
     * @return
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/login/login")
    Flowable<BaseObjectBean<LoginBean>> login(@Field("username") String username,
                                              @Field("password") String password);
    /**
     * 查看申请结果
     */
    @GET("/addons/shimmer_liveshop/api/6/2/stores/applyResult")
    Flowable<GetJieguoBeen> getjieguo();

    /**
     * 扫码店铺信息
     */
    @GET("/addons/shimmer_liveshop/index.php/api/6/3/common/storeInfo")
    Flowable<Qc_StoreBean> getStoreInfor(@Query("store_id") String store_id,@Query("sales_model")int sale_modle);

    /**
     * 扫码商品列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/listAll")
    Flowable<Qc_StoreListBean> getStoreList(@QueryMap Map<String, Object> param);

    /**
     * 获取用户填写的店铺信息列表
     */
    @POST("/addons/shimmer_liveshop/api/6/2/stores/storeSettleInInfoList")
    Flowable<Store_informationBean> getState(@Query("null") String liveid);
    /**
     * 用户提交店铺申请接口
     */
    @POST("/addons/shimmer_liveshop/api/6/2/stores/commitStore")
    Flowable<ConmitData_Bean> conmitData(@Query("store_id") String storid);
    /**
     * 新-店铺入驻接口
     */
    @POST("/addons/shimmer_liveshop/api/6/2/stores/storeSettleIn")
    Flowable<Store_ruzhuBean> getRuzhu_state(@QueryMap Map<String, Object> param);

    /**
     * 获取店铺入驻步骤信息
     */
    @POST("/addons/shimmer_liveshop/api/6/2/stores/getStepInfo")
    Flowable<Ruzhu_StepBean> getRuzhu_Step(@Query("step") String step);
    /**
     * 发送短信验证码
     *
     * @param mobile 手机号码
     * @return
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/login/getVerify")
    Flowable<LogininfoBean> sendSms(@Field("mobile") String mobile, @Field("code_type") String code_type);

    /**
     * 检测APP微信登录是否绑定手机号
     *
     * @param code
     * @return
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/wechat/login/check/bind-phone")
    Flowable<LogininfoBean> checkBindPhone(@Field("code") String code);

    /**
     * APP微信登录
     *
     * @param hash
     * @return
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/wechat/login")
    Flowable<LogininfoBean> wechatLogin(@Field("hash") String hash, @Field("mobile") String mobile, @Field("sms_code") String smsCode);

    /**
     * 登陆-手机验证码登录
     *
     * @param mobile 手机号码
     * @param code   验证码
     * @return
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/login/mobile/code")
    Flowable<LogininfoBean> loginCode(@Field("mobile") String mobile,
                                      @Field("code") String code);

    /**
     * 支付
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/pay")
    Flowable<NewOrderBeen> orderPay(@Field("from") String from,
                                    @Field("paytype") String paytype, @Field("uni") String uni);

    /**
     * 个人中心-订单确认收货
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/take")
    Flowable<ConfirmBeen> confirmShou(@Field("uni") String uni);

    /**
     * 上传图片
     */
    @Multipart
    @POST("/addons/shimmer_liveshop/index.php/api/6/3/plugin/merch/common/apply/uploadImg")
    Flowable<UploadImgBeen> uploadImg(@Part MultipartBody.Part parts);

    /**
     * 上传多张图片
     *
     * @return
     */
    @Multipart
    @POST("/addons/shimmer_liveshop/index.php/api/6/3/plugin/merch/common/apply/uploadImg")
    Flowable<AfterServiceUpLoadMoreImgBean> upLoadMoreImg(@Part() List<MultipartBody.Part> file);

    /**
     * 上传单张图片，返回类型不同
     *
     * @return
     */
    @Multipart
    @POST("/addons/shimmer_liveshop/index.php/api/6/3/plugin/merch/common/apply/uploadImg")
    Flowable<AfterServiceUpLoadSingImgBean> upLoadSingImg(@Part() List<MultipartBody.Part> file);

    /**
     * 首页 市场采购
     * banner , 分类 ,新发地价格数据
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/indexData")
    Flowable<BaseObjectBean<HomeMarketInitDataBeen>> homeMarketInitData();

    /**
     * 首页-零售
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/indexDataSales")
    Flowable<HomeRetailBeen> indexDataSales();

    /**
     * 首页-家庭购
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/activity/getTestActivity")
    Flowable<FamilyBuyBeen> familyBuy(@Query("sales_model") String sales_model);

    /**
     * 首页-附近零售店铺
     */
    @GET("/addons/shimmer_liveshop/index.php/api/6/3/common/nearShop")
    Flowable<NearShopBeen> nearShop(@Query("lng") String lng, @Query("lat") String lat, @Query("distance") String distance, @Query("sort") String sort, @Query("page") String page, @Query("limit") String limit);

    /**
     * 首页-发现好货
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/getIndexGoodsList")
    Flowable<FoundGoodContentBeen> foundGoodContent(@Query("index_category_id") String index_category_id, @Query("pages") String pages, @Query("limit") String limit);

    /**
     * 首页-发现好货title
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/category")
    Flowable<FoundGoodTitleBeen> foundGoodTitle(@Query("pid") String pid, @Query("index_status") String index_status);

    /**
     * 批发首页-精选商品列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/indexGoods")
    Flowable<HomeMarketSelectBeen> homeMarketInitSelectData(@Query("pages") String pages, @Query("limit") String limit);

    /**
     * 自营店
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/selfOwnedShop")
    Flowable<SelfOwnedShopBeen> selfOwnedShop(@Query("limit") String limit);

//    /**
//     * 支付成功-猜你喜欢
//     */
//    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/lovely")
//    Flowable<PaySuccessfulBeen> paySuccessfulLike(@Query("page") String page, @Query("limit") String limit);

    /**
     * 个人中心-订单列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/list")
    Flowable<OrderListBeen> orderList(@Query("type") String type, @Query("sales_model") String sales_model, @Query("page") String page, @Query("limit") String limit);

    /**
     * 批发 商品商品详情
     */
    @GET("/addons/shimmer_liveshop/api/6/2/shop/goods/detail/{good_id}")
    Flowable<XFDGoodsDetailsBeen> xfdGoodsDetailsData(@Path("good_id") String good_id);

    /**
     * 商家编辑显示商品详情
     */
    @GET("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/goods/info/{id}")
    Flowable<ShopGoodsInfoBeen> goods_info(@Path("id") String id);

    /**
     * 快捷编辑修改商品数量价格库存
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/goods/updateNumPrice/{id}")
    Flowable<UpdateNumPriceBeen> updateNumPrice(@Path("id") String id, @Field("marketprice") String marketprice, @Field("stock") String stock, @Field("discountprice") String discountprice);


    /**
     * 店铺中心-商品列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/plugin/merch/user/goods/getCategoryAndGoods/{id}")
    Flowable<ShopGoodListBeen> shopRetail(@Path("id") String id);

    /**
     * 店铺中心-订单列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/order/list")
    Flowable<ShopOrderListBeen> shopInOrderList(@Query("status") String status, @Query("keyWord") String keyWord, @Query("page") String page, @Query("limit") String limit);

    /**
     * 商家获取申请售后列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/after/sale/storeApplyList")
    Flowable<ShopInOrderAfterSalesListBeen> shopInOrderAfterSalesList(@Query("storeId") String storeId, @Query("salesMode") String salesMode, @Query("status") String status, @Query("keyWord") String keyWord, @Query("page") String page, @Query("limit") String limit);

    /**
     * 商家批发获取申请售后列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/after/sale/wholesale/apply/store/list")
    Flowable<ShopInPiFaOrderAfterSalesListBeen> shopInPiFaOrderAfterSalesList(@Query("storeId") String storeId, @Query("keyWord") String keyWord, @Query("page") String page, @Query("limit") String limit);

    /**
     * 店铺中心-商品上下架
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/goods/upState/{id}")
    Flowable<GoodsUpStateBeen> goods_upState(@Path("id") String id, @Field("state") String state);

    /**
     * 创建订单支付
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/create/{orderKey}")
    Flowable<NewOrderBeen> xfdGoodsOrder(@Path("orderKey") String orderKey, @Field("couponId") String couponId, @Field("marks") String marks, @Field("payType") String payType, @Field("pinkId") String pinkId, @Field("seckill_id") String seckill_id, @Field("addressId") String addressId, @Field("useIntegral") String useIntegral, @Field("leftName") String leftName, @Field("rightName") String rightName, @Field("delivery_method") String delivery_method, @Field("logistics_type") String logistics_type, @Field("order_express_type") String order_express_type);

    /**
     * 创建订单支付
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/create/{orderKey}")
    Flowable<NewOrderBeen> retailGoodsOrder(@Path("orderKey") String orderKey, @Field("couponId") String couponId, @Field("marks") String marks, @Field("payType") String payType, @Field("addressId") String addressId, @Field("leftName") String leftName, @Field("rightName") String rightName, @Field("pick_up_time") String pick_up_time, @Field("reserved_mobile_phone") String reserved_mobile_phone, @Field("delivery_method") String delivery_method, @Field("logistics_type") String logistics_type, @Field("order_express_type") String order_express_type);

    /**
     * 首页-搜索
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/searchKeyword")
    Flowable<SearchBeen> homeSearch(@Query("keyword") String keyword, @Query("indexStatus") String indexStatus, @Query("user_current_lng") String user_current_lng, @Query("user_current_lat") String user_current_lat);

    /**
     * 首页-热搜
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/search/keywords")
    Flowable<HotSearchBeen> hotSearch();

    /**
     * 首页-店铺详细
     */
    @GET("/addons/shimmer_liveshop/index.php/api/6/3/common/storeInfo")
    Flowable<StoreInfoBeen> storeInfo(@Query("store_id") String store_id, @Query("sales_model") String sales_model);

    /**
     * 首页-店铺详细
     */
    @GET("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/goods/list")
    Flowable<ShopInGoodListBeen> store_goods_list(@QueryMap Map<String, Object> map);

    /**
     * 协议接口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/getAgreement")
    Flowable<AgreementBeen> agreement(@Query("type") String type);

    /**
     * 个人中心-地址列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/address")
    Flowable<AddressListBeen> addressList(@Query("page") String page, @Query("limit") String limit);

    /**
     * 店铺商品列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/goods/getStoreGoodsList")
    Flowable<StoreGoodsListBeen> getStoreGoodsList(@Query("page") String page, @Query("limit") String limit, @Query("keywords") String keywords);

    /**
     * 删除地址
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/address/del")
    Flowable<DeleteAddressBeen> delAddress(@Field("id") String id);

    /**
     * 默认地址
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/address/change-default")
    Flowable<DeleteAddressBeen> defultAddress(@Field("id") String id);

    /**
     * 地址选择零售重新计算物流加价
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/address/retail/logistics")
    Flowable<LogisticsBeen> logistics(@Field("address_id") String address_id, @Field("orderKey") String orderKey);

    /**
     * OCR-身份证
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/index.php/api/6/3/plugin/merch/user/store/getIdCard")
    Flowable<IdCardBeen> getIdCard(@Field("infoImg") String infoImg, @Field("emblemImg") String emblemImg);

    /**
     * -店铺中心-商品添加
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/goods/store")
    Flowable<ShopAddGoodBeen> store_add_good(@Field("state") String state, @Field("title") String title, @Field("thumbs") String thumbs, @Field("marketprice") String marketprice, @Field("discountprice") String discountprice, @Field("stock") String stock, @Field("category_id") String category_id, @Field("store_category_id") String store_category_id, @Field("goods_weight") String goods_weight, @Field("unit") String unit);

    /**
     * 店铺中心修改商品
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/goods/update/{id}")
    Flowable<ShopAddGoodBeen> shopGoodUpdate(@Path("id") String id, @Field("state") String state, @Field("title") String title, @Field("thumbs") String thumbs, @Field("marketprice") String marketprice, @Field("discountprice") String discountprice, @Field("stock") String stock, @Field("category_id") String category_id, @Field("store_category_id") String store_category_id, @Field("goods_weight") String goods_weight, @Field("unit") String unit);

    /**
     * 直播间添加商品
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/goods/add-live-goods/{live_id}")
    Flowable<AddLiveGoodsBeen> addLiveGoods(@Path("live_id") String live_id, @Field("goods_ids") String goods_ids);

    /**
     * 直播间商品列表
     */

    @GET("/addons/shimmer_liveshop/api/6/3/goods/get-live-goods/{liveid}")
    Flowable<VideoRoomGoodListBeen> videoRoomGoodList(@Path("liveid") String liveid);

    /**
     * 关注/取消直播间
     */

    @GET("/addons/shimmer_liveshop/api/6/3/follow/follow/{liveid}/1")
    Flowable<VideoRoomGoodListBeen> getLiveRoomFocus(@Path("liveid") String liveid);

    /**
     * 直播间点赞
     */

    @GET("/addons/shimmer_liveshop/api/6/3/follow/incLiveRoomFabulous")
    Flowable<VideoRoomGoodListBeen> getLiveRoomZan(@Query("live_id") String liveid);

    /**
     * 批发大马鹿查询物流路由
     */

    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/damalu/logistics/track/{id}")
    Flowable<OrderWuliuDaMaBeen> orderWuliuDama(@Path("id") String id);

    /**
     * 批发顺丰查询物流路由
     */

    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/sf/logistics/track/{id}")
    Flowable<OrderWuliuShunFengBeen> orderWuliuFeng(@Path("id") String id);

    /**
     * 播流地址
     */

    @GET("/addons/shimmer_liveshop/api/6/3/live/get-live-info/{live_id}")
    Flowable<VideoInfoBeen> getLiveInfo(@Path("live_id") String live_id);


    /**
     * OCR-银行卡
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/index.php/api/6/3/plugin/merch/user/store/getBankCard")
    Flowable<BankCardBeen> getBankCard(@Field("bankCardImg") String bankCardImg);

    /**
     * 首页-店铺详细
     */

    @GET("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/manager/infoZx")
    Flowable<ShopInDetailsBeen> store_details();

    /**
     * 首页-店铺详细
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/cash_out/index")
    Flowable<StoreAmountBean> getStoreAmount(@Field("store_id") String store_id);

    /**
     * 申请直播间
     */
    @POST("/addons/shimmer_liveshop/api/6/3/anchor/apply")
    Flowable<BaseObjectBean> anchor_apply();

    /**
     * 直播间详情
     */
    @GET("/addons/shimmer_liveshop/api/6/3/anchor/get-live-info")
    Flowable<LiveInfoBeen> get_live_info();

    /**
     * 推流地址
     */
    @GET("/addons/shimmer_liveshop/api/6/3/anchor/get-push-info")
    Flowable<PushInfoBeen> get_push_info();

    /**
     * 店铺中心-小分类列表
     */

    @GET("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/category/list")
    Flowable<ShopAddGoodTypeBeen> category_list();

    /**
     * 个人中心-商户申请入驻
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/index.php/api/6/3/plugin/merch/common/apply/businesschecking")
    Flowable<ApplyShopInBeen> businesschecking(@Field("idcard") String idcard, @Field("offline_shop_name") String offline_shop_name, @Field("whole_address") String whole_address, @Field("inv_code") String inv_code, @Field("lat") String lat, @Field("lng") String lng, @Field("store_name") String store_name, @Field("store_master") String store_master, @Field("store_qualifications_img") String store_qualifications_img, @Field("store_category") String store_category, @Field("store_address") String store_address, @Field("store_phone") String store_phone, @Field("store_qualifications_num") String store_qualifications_num, @Field("store_qualifications_name") String store_qualifications_name, @Field("store_qualifications_expire") String store_qualifications_expire, @Field("idcard_back_img") String idcard_back_img, @Field("idcard_front_img") String idcard_front_img, @Field("qs_img") String qs_img, @Field("bank_card") String bank_card, @Field("bank_open_name") String bank_open_name, @Field("bank_name") String bank_name, @Field("bank_branch") String bank_branch, @Field("bd_name") String bd_name, @Field("bd_phone") String bd_phone, @Field("sign_status") String sign_status, @Field("bd_content") String bd_content, @Field("store_logo") String store_logo, @Field("category_id") String category_id, @Field("store_current_address") String store_current_address, @Field("intro") String intro, @Field("salecate") String salecate, @Field("front_door_photo") String front_door_photo, @Field("in_store_photo") String in_store_photo);


    /**
     * 购物车-修改数量
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/shop/cart/num")
    Flowable<BaseObjectBean> updateCartNum(@Field("id") String id,
                                           @Field("number") String number);

    /**
     * 开始直播
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/live/live-start")
    Flowable<CreatePusherBeen> createPusher(@Field("live_cover") String live_cover,
                                            @Field("title") String title);

    /**
     * 直播结束
     */
    @POST("/addons/shimmer_liveshop/api/6/3/live/live-end-count")
    Flowable<VideoEndBeen> videoEnd();

    /**
     * 购物车-商品移除
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/shop/cart/del")
    Flowable<BaseObjectBean> removeGood(@Field("ids") String ids);

    /**
     * 购物车-结算
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/confirm")
    Flowable<ConfirmGoodBeen> confirm(@Field("cartId") String cartId, @Field("user_current_lng") String user_current_lng, @Field("user_current_lat") String user_current_lat);

    /**
     * OCR-营业执照
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/index.php/api/6/3/plugin/merch/user/store/getLicenseImg")
    Flowable<LicenseImgBeen> getLicenseImg(@Field("licenseImg") String licenseImg);

    /**
     * 校验地址是否在大马鹿配送范围
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/index.php/api/6/3/shop/order/test/damalu/address")
    Flowable<XFDConfirmOrderBeen> xfdConfirmOrder(@Field("orderKey") String orderKey, @Field("address_id") String address_id);

    /**
     * 采购清单接口
     */
    @POST("/addons/shimmer_liveshop/api/6/3/purchase/index")
    Flowable<ProcurementTypeListBeen> procurementTypeList();

    /**
     * 提交采购清单
     */
    @POST("/addons/shimmer_liveshop/api/6/3/purchase/submit")
    Flowable<PurchaseSubmitBeen> purchaseSubmit(@Body ProcurementTypeSubmitBeen dd);

    /**
     * 修改采购清单
     */
    @POST("/addons/shimmer_liveshop/api/6/3/purchase/edit")
    Flowable<PurchaseSubmitBeen> purchaseEdit(@Body PurchaseSubmitEditBeen dd);

    /**
     * 页面电话信息+banner
     */
    @POST("/addons/shimmer_liveshop/api/6/3/purchase/page_info")
    Flowable<ProcurementInfoBeen> page_info();

    /**
     * 删除购物清单接口
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/purchase/del")
    Flowable<BaseObjectBean> purchaseEdit(@Field("purchase_sn") String purchase_sn);

    /**
     * 个人中心-添加/修改地址
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/address/store")
    Flowable<AddAddressBeen> addAddress(@Field("realname") String realname, @Field("mobile") String mobile, @Field("lng") String lng,
                                        @Field("lat") String lat, @Field("is_default") String is_default, @Field("address_info") String
                                                address_info, @Field("house_number") String house_number, @Field("id") String id, @Field("label") String label);

    /**
     * 商家端获取批发端售后详情
     */

    @GET("/addons/shimmer_liveshop/api/6/3/after/sale/wholesale/apply/store/info")
    Flowable<SalePiFaAfterDetailsBeen> salePiFaAfterDetails(@Query("applyId") String applyId);

    /**
     * 购物车-商品添加到确认订单
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/shop/cart/add")
    Flowable<ConfirmGoodBeen> confirmGood(@Field("is_new") String is_new, @Field("uniqueId") String uniqueId, @Field("productId") String productId, @Field("cartNum") String cartNum);

    /**
     * 购物车-商品添加到确认订单
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/shop/cart/add")
    Flowable<ConfirmGoodBeen> confirmGood(@Field("is_new") String is_new, @Field("uniqueId") String uniqueId, @Field("productId") String productId, @Field("cartNum") String cartNum, @Field("relation_type") String relation_type, @Field("relation_id") String relation_id);

    /**
     *
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/common/feedBack")
    Flowable<BaseObjectBean> feedBack(@Field("content") String content, @Field("phone") String phone);

    /**
     * 我的采购清单列表
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/purchase/list")
    Flowable<ListingToPayBeen> purchaseList(@Field("pay_status") String pay_status);

    /**
     * 账号密码登录
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/login/mobile/pwd")
    Flowable<LogininfoBean> passWordLogin(@Field("mobile") String mobile, @Field("pwd") String pwd);

    /**
     * 提现订单列表
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/cash_out/order_list")
    Flowable<WithdrawalListBeen> withdrawalList(@Field("store_id") String store_id, @Field("page") String page, @Field("limit") String limit);

    /**
     * 提现操作
     */
    @FormUrlEncoded
    @POST("/addons/shimmer_liveshop/api/6/3/cash_out/done")
    Flowable<SubmitWithdrawalBeen> submitWithdrawal(@Field("store_id") String store_id, @Field("is_full") String is_full, @Field("drawing_flag") String drawing_flag, @Field("order_sn") String order_sn, @Field("remark") String remark);

    /**
     * 我常买接口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/buyOftenGoods")
    Flowable<BuyOftenGoodsBeen> buyOftenGoods(@Query("index_status") String index_status, @Query("page") String page, @Query("limit") String limit);

    /**
     * 配送员信息接口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/SFriderlatestposition")
    Flowable<PeiSongBeen> peisong(@Query("order_id") String order_id);

    /**
     * 购物车-图标显示数量
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/cart/count")
    Flowable<CarCountBeen> cartCount(@Query("numType") String numType, @Query("index_status") String index_status, @Query("store_id") String store_id);

    /**
     * 批发商城-一级分类
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/category")
    Flowable<OneCategoryBeen> oneCategory(@QueryMap Map<String, Object> map);

    /**
     * 批发商城-二级分类
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/category")
    Flowable<OneBeen> oneCategory(@Query("pid") String pid, @Query("index_status") String index_status);

    /**
     * 批发商城-所有分类
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/categoryListAll")
    Flowable<CategoryAllBeen> oneCategoryAll(@Query("index_status") String index_status);

    /**
     * 图库-图片接口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/picListWareHouse")
    Flowable<SelectImageBeen> picListWareHouse(@Query("category_id") String category_id);

    /**
     * 购物车-商品列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/cart/list")
    Flowable<ShopCarListBeen> shopCarList(@Query("index_status") String index_status);

    /**
     * 购物车-商品列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/cart/list")
    Flowable<ShopCarListBeen> shopCarList(@Query("store_id") String store_id, @Query("index_status") String index_status);

    /**
     * 批发 - 商品 列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/listAll")
    Flowable<HomeSearchXFDGoodBeen> homeSearchGoodShop(@Query("lng") String lng, @Query("lat") String lat, @Query("sid") String sid, @Query("page") String page, @Query("limit") String limit, @Query("index_status")
            String index_status, @Query("is_store") String is_store, @Query("store_id") String store_id, @Query("keyword") String keyword,
                                                       @Query("priceOrder") String priceOrder, @Query("salesOrder") String salesOrder, @Query("news") String news);

    /**
     * 零售 商品搜索 列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/listAll")
    Flowable<ShopSearchBeen> shopSearch(@Query("lng") String lng, @Query("lat") String lat, @Query("sid") String sid, @Query("page") String page, @Query("limit") String limit, @Query("index_status")
            String index_status, @Query("is_store") String is_store, @Query("store_id") String store_id, @Query("keyword") String keyword,
                                        @Query("priceOrder") String priceOrder, @Query("salesOrder") String salesOrder, @Query("news") String news);

    /**
     * 批发 - 店铺 列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/listAll")
    Flowable<ClassShopBeen> classShops(@Query("sid") String sid, @Query("page") String page, @Query("limit") String limit, @Query("index_status")
            String index_status, @Query("is_store") String is_store, @Query("store_id") String store_id, @Query("keyword") String keyword,
                                       @Query("priceOrder") String priceOrder, @Query("salesOrder") String salesOrder, @Query("news") String news);

    /**
     * 获取家庭购活动商品列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/activity/family_shop/list")
    Flowable<FamliyItemBeen> familyItem(@Query("page") String page, @Query("limit") String limit);

    /**
     * 用户服务协议接口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/getServiceAgreement")
    Flowable<AgreementBeen> userAgreement();

    /**
     * 隐私政策协议接口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/getPrivacyAgreement")
    Flowable<AgreementBeen> privacyAgreement();

    /**
     * 商家服务协议口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/getServiceAgreementCopy")
    Flowable<AgreementBeen> serviceAgreement();

    /**
     * 店铺中心-修改店铺信息
     */
    @POST("/addons/shimmer_liveshop/api/6/3/plugin/merch/common/apply/updateBusinesschecking")
    Flowable<ShopInDetailsBeen> updateBusinessInfo(@QueryMap Map<String, Object> param);

    /**
     * 批发商品详情-推荐商品接口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/storeGoodsList")
    Flowable<MoreGoodsBean> getStoreGoodsList(@QueryMap Map<String, Object> param);

    /**
     * 创建电子同步
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/eleContractMake")
    Flowable<EleContractMakeBeen> eleContractMake(@Query("contract_year") String contract_year, @Query("store_num") String store_num, @Query("telephone") String telephone,
                                                  @Query("card_name") String card_name, @Query("card_code") String card_code, @Query("customer_name") String customer_name,
                                                  @Query("orgnizationCode") String orgnizationCode, @Query("orgnizationMster") String orgnizationMster,
                                                  @Query("customer_address") String customer_address, @Query("bank_name") String bank_name, @Query("bank_code") String bank_code);

    /**
     * 获取版本信息接口
     */
    @GET("/addons/shimmer_liveshop/index.php/api/6/3/common/config/1/version")
    Flowable<VersionInfoBean> getVersionInfo();

    /**
     * 直播列表接口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/category/waterfall-live-lists")
    Flowable<LiveListBeen> getLiveList(@Query("page") int page);

    /**
     * 直播关注列表接口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/follow/list")
    Flowable<LiveListBeen> getLiveFocusList(@Query("page") int page);

    /**
     * 腾讯IM登录
     *
     * @param type 1 用户加密信息
     * @return
     */
    @GET("/addons/shimmer_liveshop/api/6/3/live/get-chat-config/{id}")
    Flowable<LogininfoBean> getLiveImLogin(@Path("id") String id, @Query("type") String type);

    /**
     * 添加收藏接口
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/goods/collect/add")
    Flowable<MoreGoodsBean> getGoodsCollection(@QueryMap Map<String, Object> param);

    /**
     * 删除商品收藏
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/goods/collect/del")
    Flowable<MoreGoodsBean> getGoodsCancleCollection(@QueryMap Map<String, Object> param);

    /**
     * 收藏/删除店铺
     */
    @POST("/addons/shimmer_liveshop/api/6/3/plugin/merch/user/store/collect/{storeid}")
    Flowable<StoreInfoBeen> getCollectShop(@Path("storeid") String storeid);

    /**
     * 收藏店铺列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/plugin/merch/user/store/collect-list")
    Flowable<MyFocusShopBean> getFocusList(@Query("limit") String limit, @Query("page") int page);

    /**
     * 获取售后退款原因
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/after/sale/reason")
    Flowable<ReturnReasonBean> getReturnReason();

    /**
     * 用户申请售后退款
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/after/sale/apply")
    Flowable<ReturnReasonBean> getAfterServiceRequest(@QueryMap Map<String, Object> param);

    /**
     * 批发-申请售后退款
     */
    @POST("/addons/shimmer_liveshop/api/6/3/after/sale/wholesale/apply")
    Flowable<OrderProcessBeen> getMarketAfterServiceRequest(@QueryMap Map<String, Object> param);

    /**
     * 批发-取消申请售后退款
     */
    @POST("/addons/shimmer_liveshop/api/6/3/after/sale/wholesale/apply/cancel")
    Flowable<ReturnReasonBean> getMarketAfterServiceCancle(@QueryMap Map<String, Object> param);

    /**
     * 批发-获取申请售后详情
     */
    @GET("/addons/shimmer_liveshop/api/6/3/after/sale/wholesale/apply/user/info")
    Flowable<AfterMarketInfoBean> getMarketAfterServiceInfo(@QueryMap Map<String, Object> param);

    /**
     * 零售新-申请售后退款
     */
    @POST("/addons/shimmer_liveshop/api/6/3/after/sale/apply")
    Flowable<OrderProcessBeen> getAfterServiceRequestRetail(@QueryMap Map<String, Object> param);

    /**
     * 零售-获取售后列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/after/sale/userApplyList")
    Flowable<AfterSalesListRetailBean> getAfterSalesRetailList(@QueryMap Map<String, Object> param);

    /**
     * 批发-获取售后列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/after/sale/wholesale/apply/user/list")
    Flowable<AfterSalesListMarketBean> getAfterSalesMarketList(@QueryMap Map<String, Object> param);


    /**
     * 零售-申请售后判断订单是否超过24小时
     */
    @GET("/addons/shimmer_liveshop/api/6/3/after/sale/isExceedTime")
    Flowable<AfterSalesListRetailBean> getIsExceedTime(@Query("orderId") String orderId);

    /**
     * 用户取消售后退款申请
     */
    @POST("/addons/shimmer_liveshop/api/6/3/after/sale/cancelApply")
    Flowable<ReturnReasonBean> getAfterServiceCancle(@QueryMap Map<String, Object> param);

    /**
     * 查看零售售后退款的进度
     */
    @GET("/addons/shimmer_liveshop/api/6/3/after/sale/getApplyProgress")
    Flowable<OrderProcessBeen> getAfterServiceProgress(@QueryMap Map<String, Object> param);

    /**
     * 查看订单详情
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/detail/{orderid}")
    Flowable<OrderDetailInfoBeen> getOrderDetail(@Path("orderid") String orderid);

    /**
     * 用户浏览商品历史
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/historyList")
    Flowable<MyFollowBean> getFollowList(@Query("limit") String limit, @Query("pages") int page);

    /**
     * 删除用户浏览商品历史
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/goods/historyDel")
    Flowable<MyFollowBean> getDeleteFollow(@QueryMap Map<String, Object> map);

    /**
     * 获取用户信息
     */
    @GET("/addons/shimmer_liveshop/api/6/3/userinfo")
    Flowable<UserInfoBean> getUserinfo(@Query("sales_model") String sales_model);

    /**
     * -广告位接口
     */
    @GET("/addons/shimmer_liveshop/api/6/3/poster")
    Flowable<PosterBeen> poster();

    /**
     * 取消订单
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/cancel")
    Flowable<OrderDetailInfoBeen> getOrderCancel();

    /**
     * 取消订单原因
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/refund/reason")
    Flowable<ReturnReasonBean> getRefundRreason();

    /**
     * 获取配送 时间 服务费 规则
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/getRule")
    Flowable<RuleBean> getRule(@Query("type") String type, @Query("status") String status);

    /**
     * 商品库
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/library/list")
    Flowable<GoodsLiblaryListBean> getLibraryList(@QueryMap Map<String, Object> map);


    /**
     * 添加到商品库
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/goods/library/add")
    Flowable<OneCategoryBeen> addGoods(@QueryMap Map<String, Object> map);

    /**
     * 添加添加极光设备号到商品库
     */
    @POST("/addons/shimmer_liveshop/api/6/3/getEquipmentNumber")
    Flowable<VersionInfoBean> getEquipmentNumber(@QueryMap Map<String, Object> map);

    /**
     * 获取限购活动列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/activity/limit_purchase/list")
    Flowable<GoodsLimitBean> getGoodsLimit(@Query("page") int page, @Query("limit") String limit);

    /**
     * 获取限购活动销量列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/activity/limit_purchase/high_sales/list")
    Flowable<GoodsLimitBean> getGoodsLimitHighSales();

    /**
     * 获取限时秒杀活动列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/activity/limit_time_good/list")
    Flowable<GoodsMiaoSBean> getGoodsMiaoShaList(@Query("page") int page, @Query("limit") String limit);

    /**
     * -获取限时限量活动单个商品销量
     */
    @GET("/addons/shimmer_liveshop/api/6/3/activity/limit_time_good/get/stock/{good_id}")
    Flowable<GoodsMiaoSBean> getGoodsStock(@Path("good_id") String good_id);

    /**
     * 获取限购活动单个商品销量
     */
    @GET("/addons/shimmer_liveshop/api/6/3/activity/limit_purchase/get/stock/{good_id}")
    Flowable<GoodsMiaoSBean> getGoodsStockLimit(@Path("good_id") String good_id);

    /**
     * 店铺中心-打印机订单详情
     */
    @GET("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/order/detailPring")
    Flowable<DetailPringBean> getDetailPring(@Query("order_id") String order_id);

    /**
     * 商家取消订单
     */
    @POST("/addons/shimmer_liveshop/api/6/3/plugin/merch/store/order/storeCancelsOrder")
    Flowable<DetailPringBean> getStoreCancelsOrder(@Query("order_id") String order_id);

    /**
     * 蓝牙打印机排版
     */
    @GET("/addons/shimmer_liveshop/api/6/3/plugin/merch/common/apply/getPrintingContent")
    Flowable<BluePrintContentBean> getPrintingContent(@Query("order_id") String order_id);

    /**
     * 获取对骑手不满意的原因
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/replies/dissatisfied")
    Flowable<DissatisfiedReasonBean> getDissatisfied();

    /**
     * 用户对零售订单的评价
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/replies/add")
    Flowable<DissatisfiedReasonBean> getRemakeRetail(@QueryMap Map<String, Object> map);

    /**
     * 用户对批发订单的评价
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/replies/wholesale/add")
    Flowable<DissatisfiedReasonBean> getRemakeMarket(@QueryMap Map<String, Object> map);

    /**
     * 用户获取零售评价
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/replies/user/list")
    Flowable<MyRemakeListRetailBean> getMyRemakeListRetail(@Query("page") int page, @Query("limit") String limit);

    /**
     * 用户获取批发端的评价
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/replies/user/wholesale/list")
    Flowable<MyRemakeListMarketBean> getMyRemakeListMarket(@Query("page") int page, @Query("limit") String limit);

    /**
     * 用户删除评价
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/order/replies/user/del")
    Flowable<MyRemakeListMarketBean> getDeleteRemake(@Query("replyId") String replyId, @Query("type") int type);

    /**
     * 根据店铺获取零售评价列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/replies/store/list")
    Flowable<ShopRemakeListRetailBean> getShopRemakeRetail(@QueryMap Map<String, Object> map);

    /**
     * 根据店铺获取批发端的评价列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/order/replies/wholesale/list")
    Flowable<ShopRemakeListMarketBean> getShopRemakeMarket(@QueryMap Map<String, Object> map);

    /**
     * 消息中心列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/message/core/list")
    Flowable<MesCenterListBean> getMesTypeList();

    /**
     * 搜索结果页店铺列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/retail/search/shopList")
    Flowable<SearchShopBean> getSearchShopList(@QueryMap Map<String, Object> map);

    /**
     * 搜索结果页店铺列表
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/retail/search/list")
    Flowable<HomeSearchRetailGoodsBean> getSearchGoodsList(@QueryMap Map<String, Object> map);

    /**
     * 搜索商品-添加到购物车
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/cart/add")
    Flowable<ConfirmGoodBeen> addCartGood(@QueryMap Map<String, Object> map);

    /**
     * 零售搜索-热搜
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/search/keywords/retail")
    Flowable<HotSearchRetailBean> getRetailHotSearch();



    //新版本3.26 网络改版===============================
    /**
     * 获取版本信息接口
     */
    @GET("/addons/shimmer_liveshop/index.php/api/6/3/common/config/1/version")
    Observable<VersionInfoBean >getVers();

    /**
     * 首页-发现好货
     */
    @GET("/addons/shimmer_liveshop/api/6/3/common/getIndexGoodsList")
    Observable<FoundGoodContentBeen> nearFoundGoods(@QueryMap Map<String,String>map);


    /**
     * 首页-附近商店
     */
    @GET("/addons/shimmer_liveshop/api/6/2/shop/goods/listAll")
    Observable<HomeNearShop> nearFoundShop(@QueryMap Map<String,String>map);

    /**
     * 批发商城-所有分类
     */
    @GET("/addons/shimmer_liveshop/api/6/3/shop/goods/categoryListAll")
    Observable<CategoryAllBeen> categoryAll(@Query("index_status") String index_status);


    /**
     * 分类-根据sid搜索商品
     */
    @GET("/addons/shimmer_liveshop/api/6/2/shop/goods/listAll")
    Observable<HomeSearchXFDGoodBeen> getGoodsList(@QueryMap Map<String,String>map);


    /**
     * 分类列表-添加到购物车
     */
    @POST("/addons/shimmer_liveshop/api/6/3/shop/cart/add")
    Observable<ConfirmGoodBeen> addCart(@QueryMap Map<String, String> map);

}
